package com.lzy.websocket.service;

import java.util.List;
import com.lzy.websocket.bean.User;

public interface UserService {
	/**
	 * 获取除了user之外的所有用户
	 * @param user
	 * @return
	 */
	public List<User> getUsers(String user);
	
	/**
	 * 根据用户名查询密码
	 * @param userName
	 * @return
	 */
	public String getPasswordByName(String userName);
	
	/**
	 * 根据用户名查询用户
	 * @param userName
	 * @return
	 */
	public User getUserByName(String userName);
}
